
package com.qianxun.init.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(
    prefix = "jeesuite.cache"
)
@Data
public class CacheProperties {
    private String groupName;
    private String mode;
    private String servers;
    private String password;
    private int database;
    private int maxPoolSize;
    private int maxPoolIdle;
    private int minPoolIdle;
    private long maxPoolWaitMillis;
    private String masterName;

    private boolean enable;
}
